$OpenBSD: patch-Makefile_in,v 1.2 2013/04/27 11:39:47 sthen Exp $
--- Makefile.in.orig	Fri Mar 20 03:24:18 2009
+++ Makefile.in	Sat Apr 27 11:40:26 2013
@@ -64,7 +64,7 @@ KONQDIR   = plugins/konqueror
 #
 
 DESTDIR = 
-KDEDIR  = /usr
+KDEDIR  = ${LOCALBASE}
 
 #
 # Target KDE directories
@@ -105,8 +105,8 @@ docdir      =  @docdir@
 #
 # Configuration files directories and other
 #
-CONF_DIR = $(DESTDIR)/etc/$(PACKAGE_NAME)
-PO_DIR   = $(DESTDIR)/usr/share/pacpl/locale
+CONF_DIR = $(PREFIX)/share/examples/$(PACKAGE_NAME)
+PO_DIR   = $(PREFIX)/share/pacpl/locale
 MOD_DIR  = $(CONF_DIR)/modules
 DOC_DIR  = $(DESTDIR)$(docdir)$(PACKAGE_NAME)
 MAN_DIR  = $(DESTDIR)$(mandir)/man1
@@ -115,10 +115,10 @@ DOC_EXTRA_DIR = $(DOC_DIR)/extra
 # Explicit rules
 .PHONY: all install uninstall clean distclean
 
-all: pacpl.1.gz
+all: pacpl.1
 
-pacpl.1.gz: pacpl
-	$(POD2MAN) $< |	$(GZIP) -9 > $@
+pacpl.1: pacpl
+	$(POD2MAN) $< > $@
 	touch $@
 
 install: all main install-pacpl-plugins
@@ -132,33 +132,33 @@ main:
 	$(INSTALL) -d $(DOC_DIR)
 	$(INSTALL) -d $(DOC_EXTRA_DIR)
 
-	$(INSTALL) pacpl -t $(DESTDIR)$(bindir)
-	$(INSTALL_DATA) pacpl.conf codecs.conf -t $(CONF_DIR)
-	$(INSTALL_DATA) $(LANG_MODS) -t $(PO_DIR)
-	$(INSTALL_DATA) extra/sample.m -t $(MOD_DIR)
-	$(INSTALL_DATA) pacpl.1.gz -t $(MAN_DIR)
-	$(INSTALL_DATA) $(DOCS) -t $(DOC_DIR)
-	$(INSTALL_DATA) $(EXTRAS) -t $(DOC_EXTRA_DIR)
+	$(INSTALL) pacpl $(DESTDIR)$(bindir)
+	$(INSTALL_DATA) pacpl.conf codecs.conf $(CONF_DIR)
+	$(INSTALL_DATA) $(LANG_MODS) $(PO_DIR)
+	$(INSTALL_DATA) extra/sample.m $(MOD_DIR)
+	$(INSTALL_DATA) pacpl.1 $(MAN_DIR)
+	$(INSTALL_DATA) $(DOCS) $(DOC_DIR)
+	$(INSTALL_DATA) $(EXTRAS) $(DOC_EXTRA_DIR)
 
 install-pacpl-plugins:
 ifeq '$(INSTALL_KONQ)' 'yes'
 	$(INSTALL) -d $(KONQ_PLUGDIR)
-	$(INSTALL_DATA) $(KONQDIR)/pacpl.desktop -t $(KONQ_PLUGDIR)
+	$(INSTALL_DATA) $(KONQDIR)/pacpl.desktop $(KONQ_PLUGDIR)
 endif
 
 ifeq '$(INSTALL_DOLP)' 'yes'
 	$(INSTALL) -d $(DOLP_PLUGDIR)
-	$(INSTALL_DATA) $(DOLPDIR)/pacpl.desktop -t $(DOLP_PLUGDIR)
+	$(INSTALL_DATA) $(DOLPDIR)/pacpl.desktop $(DOLP_PLUGDIR)
 endif
 
 ifeq '$(INSTALL_D3LP)' 'yes'
 	$(INSTALL) -d $(D3LP_PLUGDIR)
-	$(INSTALL_DATA) $(D3LPDIR)/pacpl.desktop -t $(D3LP_PLUGDIR)
+	$(INSTALL_DATA) $(D3LPDIR)/pacpl.desktop $(D3LP_PLUGDIR)
 endif
 
 ifeq '$(INSTALL_AMAROK)' 'yes'
 	$(INSTALL) -d $(AMAROK_PLUGDIR)
-	$(INSTALL) $(AMAROKDIR)/pacx -t $(AMAROK_PLUGDIR)
+	$(INSTALL) $(AMAROKDIR)/pacx $(AMAROK_PLUGDIR)
 endif
 
 clean:
@@ -172,7 +172,7 @@ distclean: clean
 
 uninstall: uninstall-pacpl-plugins
 	$(RM) $(DESTDIR)$(bindir)/pacpl
-	$(RM) $(MAN_DIR)/pacpl.1.gz
+	$(RM) $(MAN_DIR)/pacpl.1
 	$(RM) -r $(CONF_DIR)
 	$(RM) -r $(DOC_DIR)
 	$(RM) -r $(DESTDIR)/usr/share/pacpl
